package cn.micro.system.manage.service;

import cn.micro.system.manage.entity.SysDimEmployee;
import cn.micro.system.manage.entity.dto.SysDimEmployeeSearch;
import cn.micro.system.manage.entity.dto.UpdateStatusDTO;
import cn.micro.system.manage.entity.vo.SysDimEmployeeVO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Collection;
import java.util.List;

/**
 * <p>
 * 员工信息表 服务类
 * </p>
 *
 * @author wr
 * @since 2024-01-01
 */
public interface SysDimEmployeeService extends IService<SysDimEmployee> {

    boolean saveEmployee(SysDimEmployee sysDimEmployee);

    void removeEmployee(Long id);

    boolean updateStatus(UpdateStatusDTO dto);

    List<SysDimEmployeeVO> listByPage(int page, int size, SysDimEmployeeSearch search);

    List<SysDimEmployee> getCode(SysDimEmployee employee);
}
